package com.example.Coupons.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@TableName("coupon")
@Data
public class Coupon {
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    private String openid;
    /**
     * 优惠券起始时间
     */
    private String beginTime;
    /**
     * 优惠券结束时间
     */
    private String overTime;
    private Integer money;
    /**
     * 指定商品id
     */
    private Integer assignId;
    private Integer state;


}
